package com.css.fxfzysx.modules.vaolEngineering.repository;

import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxUpNetworkEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.ContinuousWeldingEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.InterfaceWeldingEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.PipelineDamageRateEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.UpNetwork1Param;
import com.css.fxfzysx.modules.vaolEngineering.param.update.UpNetwork2Param;
import com.css.fxfzysx.modules.vaolEngineering.param.update.UpNetwork3Param;

import java.util.List;

public interface UpNetworkRepository {
    boolean saveUpNetWork(SmxUpNetworkEntity it);

    List<SmxUpNetworkEntity> getByVersionId(String versionId);

    void savePseVulnerabilityResult(SmxUpNetworkEntity it);

    void saveContinuousWeldingResult(SmxUpNetworkEntity cw);

    void saveInterfaceWeldingResult(SmxUpNetworkEntity ie);

    SmxUpNetworkEntity getByTableId(String id);

    void updateSimpleModelById(UpNetwork1Param network1Param);

    void updateContinuousWeldingById(UpNetwork2Param network2Param);

    void updateInterfaceTypeById(UpNetwork3Param network3Param);
}
